;######################################################## ;# # ;# TEXTPAD SYNTAX DEFINITION FOR "ADOSCRIPT" # ;# ---------------------------------------------------- # ;# # ;# Author: Boris Gregorcic (BG) # ;# BOC Customizing # ;# # ;# Sept.2002 # ;# # ;######################################################## ;# # ;# 1.INDEX # ;# # ;######################################################## ;# MESSAGEPORT COMMANDS # ;# # ;# "AdoScript".........................[Keywords 6] # ;# "Analysis"..........................[Keywords 4] # ;# "Application".......................[Keywords 4] # ;# "Core"..............................[Keywords 5] # ;# "CoreUI"............................[Keywords 5] # ;# "Documentation".....................[Keywords 4] # ;# "Evaluation"........................[Keywords 4] # ;# "ImportExport"......................[Keywords 4] # ;# "Modeling"..........................[Keywords 4] # ;# "Simulation"........................[Keywords 4] # ;# # ;# MESSAGEPORT PARAMETERS # ;# # ;# parameters (incomplete).............[Keywords 3] # ;# names...............................[Keywords 3] # ;# # ;#----------------------------------------------------- # ;# # ;# ADOSCRIPT GRAMMAR # ;# # ;# AdoScript Syntax....................[Keywords 1] # ;# AdoScript parameters................[Keywords 1] # ;# ON_EVENTS...........................[Keywords 1] # ;# ON_EVENT parameters.................[Keywords 1] # ;# # ;#----------------------------------------------------- # ;# # ;# EXPRESSIONS # ;# # ;# Expression Syntax¶ms............[Keywords 2] # ;# # ;######################################################## ;# # ;# 2.README # ;# # ;######################################################## ;# # ;# If you change / add anything, please make sure to # ;# choose the correct keyword classes for the entries. # ;# # ;# Since this file is supposed to be and stay up to # ;# date, you should only add entries which are relevant # ;# for the most recent ADONIS® version. # ;# # ;# For constructive expansion of this syntax file, # ;# please # ;# # ;# UPDATE THE VERSIONING WITH EVERY UPDATE ! # ;# # ;# # ;######################################################## ;# # ;# VERSIONING # ;# # ;# current version.............................ASC 1.0 # ;# last changed.............................2002-09-18 # ;# by user..........................................BG # ;# # ;######################################################## C=1 [Syntax] Namespace1 = IgnoreCase = No KeyWordLength = BracketChars = {[()]} OperatorChars = -+*/<>!~%^&|=: PreprocStart = SyntaxStart = SyntaxEnd = HexPrefix = 0x CommentStart = CommentEnd = CommentStartAlt = CommentEndAlt = SingleComment = # SingleCommentCol = SingleCommentAlt = SingleCommentColAlt = SingleCommentEsc = StringsSpanLines = No StringStart = " StringEnd = " StringAlt = StringEsc = \ CharStart = ' CharEnd = ' CharEsc = \ ;######################## [Keywords 1] ;######################## ; AdoScript commands ;######################## AND BREAK CALL CC CM CMS ELSE ELSIF ENDFOR ENDIF ENDWHILE EXECUTE EXIT FOR FUNCTION IF LEN LEO NEXT NOT ON_EVENT OR PROCEDURE PT PTS SEND SET SETG SETL START STR SUB SYSTEM VAL WHILE ;------------------------ ; ON_EVENTS ;------------------------ ;---------- AppInitialized OpenModel SaveModel ShowSim1PathResult SimulationEnded ;------------------------ ; ON_EVENT params ;------------------------ get-elem-count get-int-value get-keyword get-modifier get-real-value get-str-value get-time-value get-tmm-value is-contained parse set-cur-elem-index ;------------------------ ; AdoScript parameters ;------------------------ :global answer cmdshow debug dll expression freemem function global integer measure pathcycletime pathprob raw real reference same-scope sep showmaximized showminimized showminnoactive shownormal simpath simruns string time undefined varName ;######################## [Keywords 2] ;######################## ; EXPRESSIONS ;######################## allcattrs alliattrs allobjs allrattrs amax and aql asum atttype aval avalf awsum bsearch cfobj cond conn copy cos ctobj fortok irtmodels irtobjs isloaded lower maval mstr mtclasses mtrelns mtype nextsl objofrow or paval pavalf pmf prasum prasum prevsl profile rasum rasum rcount replall rgbval row search sin tokcat tokcnt tokdiff token tokisect tokunion try upper ;######################## [Keywords 3] ;######################## ; Messageport parameters ;######################## ;----------------- ;Messageport names ;----------------- AdoScript Analysis Application Core CoreUI Documentation Evaluation ImportExport Modeling Simulation ;----------------- ;Messageport parameters ;----------------- CHECKBOX access accuracy acquisition activities-avg activities-total adopt-version-into-name all already_locked analysis apclassid apclassname apdirid apdirids apdirname append applib applibid applmodel appmodelid appmodelids appmodelname appmodels apthreadid apthreadids apthreadname apversionid apversionids apversionstr as-string attrid attrids attrname attrprofgroupids attrprofgroups-recursive attrprofids attrtype auto-close auto-component auto-loop auto-read-only auto-save-results auto-volume autoclose basename binary boxtext bp-library bplib bplibid bpmodelids button-w by cancel canceltext caption ccc-is-analysis ccc-plan-analysis changecounter changes check-hist checked checklistbox classid classname columns content core-value count createdrefid cur-filter customernumber cwd date date-format dbname debug def-cancel def-no def-ok def-retry def-yes default-ext delete-attrprof-recordrows delete-recordrows delete-unchanged-connectors delete-unchanged-objects depth dirs dpy ecode enabled endbutton entries envstr envvar error-mark errtext evaluation exist existing-attrprofs existing-models expand export-30 export-threads expr extra facetid fieldsep file fileeditor filemask filename files filter filter1 fixed-workload-analysis flat fontheight fontname format from fromobjid getversionids h hide hpd id ignore import-versioned-file importexport in increase-version index invalid is-parent is_apclass is_apthread is_apversion isloaded isopened isrel libid libname libtype loaded-models long-format main make-visible max-h max-size max-w maxlooplen maxpaths maxuser mgroup-sel mgroupid mgroupids mgroupname mgroups min-h min-w minimized model modelgroupids modelgroups-recursive modelid modelids modeling modelname modelscope modelthreadid modelthreadids modeltype modeltype1 modeltype2 modelversionid modelversionids ms multi-sel newmodelid newthreadid no no-cancel no-child-sel no-help no-overwrite no-parent-sel no-result-window none nosuccessmessage not_locked not_nocked object objid objid1 objid2 objids objname off ok ok-cancel oktext on only-proc only-write-access onthreads onversions open opened os otherlib out overwrite parentid parentmgroupid paste path path-analysis percentage period points-on-thread predrowid preference productname programcalls protfile protocol quiet randseed read read-access recattrname recursive refText references refid refids reftext relation rename result result-var retry retry-cancel rowid runs saveas searchable select selectedids selection set-value setLoopDetectionCount show-all-versions silent sim simoption simulation sorted sourcemodelids srcattrid srcmodelid srcobjid srcobjname steady-workload-analysis sub submgroupids superapdirid supermgroupid target-attrprofgroupid target-modelgroupid targetmgroupid targettype tclassname text threadid threadids threads time time-format title tmodelid tmodelname tmodeltype tmodelver to tobjid tobjname toksep toobjid toolkit tversion type type1 update-interrefences usage user val ver version versioning volume-analysis w we-library welib welibid wemodelid winver_build winver_csdversion winver_major winver_minor winver_platform with-attrprofgroups with-attrprofs with-handlecolumn with-modelgroups with-models with-referencedmodels with-submodels without-models write write-protected written x x1 x2 y y1 y2 yes yes-no yes-no-cancel zf ;######################## [Keywords 4] ;######################## ; Messageport commands I ;######################## ;------------------------- ; "Analysis" ;------------------------- EXEC_ANALYTIC_EVALUATION_START_DLG RUN_ANALYTIC_EVALUATION ;------------------------- ; "Application" ;------------------------- CLOSE DISABLE_COMP ENABLE_COMP EXEC_COMP_POPUP EXEC_PRTSETUP_DLG GET_ACCESS_PERM GET_ACTIVE_COMP GET_APP_LIB_NAME GET_COMP_ENABLED GET_CUSTOMER_NUMBER GET_DATE_TIME GET_DB_NAME GET_ENV_STRING GET_MAX_USER_COUNT GET_ONLINE_SINCE GET_PATH GET_USER GET_VERSION SET_ACTIVE_COMP ;------------------------- ; "AQL" ;------------------------- CHECK_AQL_EXPRESSION EVAL_AQL_EXPRESSION ;------------------------- ; "Documentation" ;------------------------- ACFILTER_DISABLE ACFILTER_ENABLE DOCU_EXPORT EXEC_ACFILTER EXEC_EXPORTDIALOG EXEC_MENUENTRY EXEC_OPTIONSDIALOG USERSETTINGS_RESTORE_FROM_DB USERSETTINGS_SAVE_TO_DB USERSETTINGS_SET_TO_DEFAULT ;------------------------- ; "Evaluation" ;------------------------- EXEC_DYNAMIC_EVAL_MODULE_DLG LOCK_SHELL UNLOCK_SHELL ;------------------------- ; "Import/Export" ;------------------------- ADL_EXPORT ADL_EXPORT_APPMODELS ADL_IMPORT ADL_IMPORT_APPMODELS EXEC_ADL_EXPORT_DLG EXEC_ADL_IMPORT_DLG ;------------------------- ; "Modeling" ;------------------------- ACTIVATE_COMPONENT ACTIVATE_MODEL CHECK_CARDINALITIES CLOSE CLOSE_ALL CREATE_WINDOW_FOR_LOADED_MODEL DESELECT_ALL DYE EXEC_GFX_DLG EXEC_NEW_DLG EXEC_PRINT_DLG FIND GET_ACTIVE_MODEL GET_AUTOSAVE GET_DRAWING_AREA_SIZE GET_NEXT_SWIMLANE GET_PREV_SWIMLANE GET_SELECTED GET_VISIBLE_AREA GET_VIS_ATTR_BOUNDS GET_VIS_ATTR_COUNT GET_VIS_ATTR_ID GET_ZOOM_FACTOR IS_OPENED MINIMIZE_ALL OPEN REBUILD_DRAWING_AREA REFRESH SAVE SET_AUTOSAVE SET_MODIFIED UNDYE UNDYE_ALL UPDATE_AFTER_RENAME ;------------------------- ; "Simulation" ;------------------------- EXEC_FIXED_WORKLOAD_ANALYSIS_DLG EXEC_PATH_ANALYSIS_DLG EXEC_STEADY_WORKLOAD_ANALYSIS_DLG EXEC_VOLUME_ANALYSIS_DLG GET_TIME_BASE RUN_PATH_ANALYSIS ;######################## [Keywords 5] ;######################## ; Messageport commands II ;######################## ;------------------------- ; "Core" ;------------------------- ADD_INTERREF ADD_REC_ROW COPY_MODELGROUP_REFERENCE CREATE_APP_MODEL CREATE_ATTRPROF_DIRECTORY CREATE_ATTRPROF_VERSION CREATE_ATTRPROF_VERSION_EXT CREATE_CONNECTOR CREATE_MODEL CREATE_MODELGROUP CREATE_MODELGROUP_REFERENCE CREATE_OBJ DELETE_ATTRPROF_DIRECTORY DELETE_ATTRPROF_THREAD DELETE_ATTRPROF_VERSION DELETE_MODEL DELETE_MODELGROUP DELETE_MODELGROUP_REFERENCE DELETE_OBJ DISCARD_MODEL ECODE_TO_ERRTEXT EVAL_EXPRESSION EXECUTE_PROGRAMCALL GET_ACCESS_MODE GET_ALL_APPMODEL_IDS GET_ALL_ATTRPROF_SUBDIRS GET_ALL_ATTRPROF_THREADS_IN_DIR GET_ALL_ATTRPROF_VERSIONS_OF_THREAD GET_ALL_ATTRS GET_ALL_CONNECTORS GET_ALL_MODEL_THREADS GET_ALL_MODEL_VERSIONS GET_ALL_MODEL_VERSIONS_OF_THREAD GET_ALL_OBJS GET_ALL_OBJS_OF_CLASSNAME GET_ALL_REFERENCING_MODELS GET_APPMODEL_ID GET_APPMODEL_INFO GET_ATTRPROFCLASS_OF_ATTR GET_ATTRPROF_CLASS_OF_THREAD GET_ATTRPROF_CLASS_OF_VERSION GET_ATTRPROF_DIRECTORY_NAME GET_ATTRPROF_SUPERDIR GET_ATTRPROF_THREAD_ID_OF_NAME GET_ATTRPROF_THREAD_NAME GET_ATTRPROF_THREAD_OF_VERSION GET_ATTRPROF_VERSIONSTRING GET_ATTRPROF_VERSION_USAGE GET_ATTR_ID GET_ATTR_NAME GET_ATTR_TYPE GET_ATTR_VAL GET_CLASS_ID GET_CLASS_NAME GET_CONNECTORS GET_CONNECTOR_ENDPOINTS GET_CURRENT_LIBS GET_DANGLING_INTERREFS GET_EXPR_TEXT GET_FACET_ENUMERATIONDOMAIN GET_INCOMING_INTERREFS GET_INTERREF GET_INTERREF_COUNT GET_INTERREF_TYPE GET_MGROUP_SUBGROUPS GET_MODELGROUP_CHILDREN GET_MODELGROUP_MODELS GET_MODELGROUP_NAME GET_MODELGROUP_PARENT GET_MODELGROUP_REFERENCES GET_MODELGROUP_REFERENCE_THREAD GET_MODELGROUPS_OF_MODELVERSION GET_MODEL_BASENAME GET_MODEL_CHANGECOUNTER GET_MODEL_ID GET_MODEL_INFO GET_MODEL_MODELTYPE GET_MODEL_THREAD_OF_VERSION GET_MODEL_VERSION GET_OBJ_ID GET_OBJ_NAME GET_OS_INFO GET_PRODUCT_VERSION GET_REC_ATTR_ROW_COUNT GET_REC_ATTR_ROW_ID GET_REC_CLASS_ID GET_REFERENCED_MODELS GET_USER_PREFERENCES IS_ATTRPROF_CLASS IS_ATTRPROF_THREAD IS_ATTRPROF_VERSION IS_MODEL_LOADED IS_VERSIONING_ENABLED LOAD_MODEL LOCK_OBJECT MOVE_MODELGROUP_REFERENCE REMOVE_ALL_INTERREFS REMOVE_INTERREF REMOVE_REC_ROW RENAME_ATTRPROF_DIRECTORY RENAME_ATTRPROF_THREAD RENAME_MODEL SAVE_LIBRARY SAVE_MODEL SAVE_MODEL_AS SET_ATTR_VAL SET_CHECK_ACCESS_STATE SET_ENV_STRING SET_EXPR_TEXT SET_MODELGROUP_NAME SET_MODEL_ACCESS_MODE SET_USER_PREFERENCES UNLOCK_OBJECT UPDATE_ALL_ATTRPROFS UPDATE_EXPR_ATTRS ;------------------------- ; "CoreUI" ;------------------------- MODEL_SELECT_BOX ;######################## [Keywords 6] ;######################## ; Messageport commands III ;######################## ;------------------------- ; "AdoScript" ;------------------------- BROWSER DB_FILE_LIST DIRECTORY_DIALOG DIR_CREATE DIR_LIST DIR_REMOVE EDITBOX EDITFIELD ERRORBOX FCOPY FDELETE FILE_COPY FILE_DELETE FILE_DIALOG FILE_EXIST FREAD FWRITE GET_CWD GET_TEMP_FILENAME INFOBOX LISBOX MLISTBOX MSGWIN PERCWIN_CREATE PERCWIN_DESTROY PERCWIN_SET QUERYBOX SET_CWD SET_MP_TYPE_CHECKING SLEEP TLB_CREATE TLB_EXPAND TLB_EXPAND_ALL TLB_EXPAND_TO TLB_INSERT TLB_REMOVE TLB_SELECT TLB_SELECT_ALL TLB_SHOW VIEWBOX WARNINGBOX ;######################## EOF